package com.jy.rhin.model.body.zhongxingjsbsf;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class JianKangZD {
    //精神康复措施代码
    @XPath(path = "."
            , listItemPath = "/entry/observation/code[@code='DE06.00.060.00']/../value", listItemBackLevel = 0
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_060_00, nullable = true))
    List<CodeObject> jingShenKFCSs = new ArrayList<>();
    //康复措施指导
    @XPath(path = "/entry/observation/code[@code='DE06.00.066.00']/../value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_066_00))
    String kangFuCSZD;
}
